home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet bezpieczenstwa / mini Pentoo LiveCD 2006.1 / mpentoo-2006.1.iso / livecd.squashfs / usr / share / alsa / cards / ATIIXP.conf < prev    next >
Text File  |  2006-01-09  |  2KB  |  189 lines

  1. #
  2. # Configuration for the ATI IXP 150/200/250 chips
  3. #
  4.  
  5. <confdir:pcm/front.conf>
  6.  
  7. ATIIXP.pcm.front.0 {
  8.     @args [ CARD ]
  9.     @args.CARD {
  10.         type string
  11.     }
  12.     type hw
  13.     card $CARD
  14.     device 0
  15. }    
  16.  
  17. # default with dmix/dsnoop
  18. ATIIXP.pcm.default {
  19.     @args [ CARD ]
  20.     @args.CARD {
  21.         type string
  22.     }
  23.     type asym
  24.     playback.pcm {
  25.         type plug
  26.         slave.pcm {
  27.             @func concat
  28.             strings [ "dmix:" $CARD ]
  29.         }
  30.     }
  31.     capture.pcm {
  32.         type plug
  33.         slave.pcm {
  34.             @func concat
  35.             strings [ "dsnoop:" $CARD ]
  36.         }
  37.     }
  38. }
  39.  
  40. <confdir:pcm/surround40.conf>
  41.  
  42. ATIIXP.pcm.surround40.0 {
  43.     @args [ CARD ]
  44.     @args.CARD {
  45.         type string
  46.     }
  47.     type hooks
  48.     slave.pcm {
  49.         type hw
  50.         card $CARD
  51.         device 0
  52.     }
  53.     hooks.0 {
  54.         type ctl_elems
  55.         hook_args [
  56.             {
  57.                 name "Channel Mode"
  58.                 preserve true
  59.                 value "4ch"
  60.                 lock true
  61.                 optional true
  62.             }
  63.             # for old drivers
  64.             {
  65.                 name "Line-In As Surround"
  66.                 preserve true
  67.                 value true
  68.                 optional true
  69.             }
  70.             {
  71.                 name "Surround Down Mix"
  72.                 preserve true
  73.                 value off
  74.                 lock true
  75.                 optional true
  76.             }
  77.         ]
  78.     }
  79. }
  80.  
  81. <confdir:pcm/surround41.conf>
  82. <confdir:pcm/surround50.conf>
  83. <confdir:pcm/surround51.conf>
  84.  
  85. ATIIXP.pcm.surround51.0 {
  86.     @args [ CARD ]
  87.     @args.CARD {
  88.         type string
  89.     }
  90.     type hooks
  91.     slave.pcm {
  92.         type hw
  93.         card $CARD
  94.         device 0
  95.     }
  96.     hooks.0 {
  97.         type ctl_elems
  98.         hook_args [
  99.             {
  100.                 name "Channel Mode"
  101.                 preserve true
  102.                 value "6ch"
  103.                 lock true
  104.                 optional true
  105.             }
  106.             # for old drivers
  107.             {
  108.                 name "Line-In As Surround"
  109.                 preserve true
  110.                 value true
  111.                 optional true
  112.             }
  113.             {
  114.                 name "Mic As Center/LFE"
  115.                 preserve true
  116.                 value true
  117.                 optional true
  118.             }
  119.             {
  120.                 name "Surround Down Mix"
  121.                 preserve true
  122.                 value off
  123.                 lock true
  124.                 optional true
  125.             }
  126.             {
  127.                 name "Center/LFE Down Mix"
  128.                 preserve true
  129.                 value off
  130.                 lock true
  131.                 optional true
  132.             }
  133.         ]
  134.     }
  135. }
  136.  
  137. <confdir:pcm/iec958.conf>
  138.  
  139. ATIIXP.pcm.iec958.0 {
  140.     @args [ CARD AES0 AES1 AES2 AES3 ]
  141.     @args.CARD {
  142.         type string
  143.     }
  144.     @args.AES0 {
  145.         type integer
  146.     }
  147.     @args.AES1 {
  148.         type integer
  149.     }
  150.     @args.AES2 {
  151.         type integer
  152.     }
  153.     @args.AES3 {
  154.         type integer
  155.     }
  156.     type hooks
  157.     slave.pcm {
  158.         type hw
  159.         card $CARD
  160.         device 1
  161.     }
  162.     hooks.0 {
  163.         type ctl_elems
  164.         hook_args [
  165.             {
  166.                 name "IEC958 Playback AC97-SPSA"
  167.                 device 0
  168.                 lock true
  169.                 preserve true
  170.                 value 3
  171.             }
  172.             {
  173.                 name "IEC958 Playback Default"
  174.                 device 0
  175.                 lock true
  176.                 preserve true
  177.                 value [ $AES0 $AES1 $AES2 $AES3 ]
  178.             }
  179.             {
  180.                 name "IEC958 Playback Switch"
  181.                 device 0
  182.                 lock true
  183.                 preserve true
  184.                 value true
  185.             }
  186.         ]
  187.     }
  188. }
  189.